package com.mercury.pattern._07_decorator.coffee;

import com.mercury.pattern._07_decorator.Drink;

/**
 * 缓冲层
 */
public class Coffee extends Drink {

    public Coffee() {
    }

    @Override
    public float cost() {
        return super.getPrice();
    }
}